#ifndef OCAPP_H
#define OCAPP_H

#include <QMainWindow>

#define ApplicationName "OCApplication"

namespace QWK {
	class WidgetWindowAgent;
	class StyleAgent;
}

class LabTool;

class LabViewer : public QMainWindow
{
	Q_OBJECT
public:
	explicit LabViewer(QWidget *parent = 0);
	~LabViewer();

	enum Theme {
		Dark,
		Light,
	};
	Q_ENUM(Theme)

Q_SIGNALS:
	void themeChanged();

protected:
	bool event(QEvent* event) override;
	void installWindowAgent();
	void loadStyleSheet(Theme theme);

	Theme currentTheme{};

	QWK::WidgetWindowAgent* windowAgent;
protected:
	void setSize();
	LabTool* labTool;
};

#endif // OCAPP_H
